Learn R Programming

reutils (version 0.2.1)

[,esearch,numeric,missing-method: ESearch Accessors

Description

Extract UIDs from an esearch object.

Usage

## S3 method for class 'esearch,numeric,missing':
[(x, i, j)

Arguments

x
An esearch object.
i
Numeric indices.
j
Ignored.

Value

  • A entrez_uid object.

Examples

Run this code
e <- esearch("Mus musculus", "protein", retmax = 20)
e[1:5]
## pass the subset directly on to esummary or efetch
content(esummary(e[1:5]), "parsed")

Run the code above in your browser using DataLab